// 卸下装备 {"道具":1,"类型":"道具","角色":"主角"}
// @ts-ignore
export async function execute(client_id,message_json) {
    let login_characters = G.Characters.get_current_login_characters(client_id);
    let index = message_json["道具"] - 1;
    let items_key = message_json["类型"];
    let type = "装备"
    if (message_json["锦衣"]) {
        type = "锦衣";
    }
    if (message_json["灵饰"]) {
        type = "灵饰";
    }
    G.Characters.take_off_equipment(login_characters["id"], type, items_key, index);
}